package com.example.a2032.net.jstylenet;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "bindContact")
public class BindContactData {
    @NonNull
    String name;
    @NonNull
    @PrimaryKey
    String phone;
    @NonNull
    int kinship;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getKinship() {
        return kinship;
    }

    public void setKinship(int kinship) {
        this.kinship = kinship;
    }
}
